package com.guofen.service.hsmpy;

import com.guofen.pojo.HsmSmallWorm;
import com.guofen.pojo.SjqFlocculationCraftScene;

import java.util.List;
import java.util.Map;

public interface HatchingFeedService {

    boolean add(String hatch_start_time,
                String batch,
                String group,
                String hatch_box_number,
//                Double hatch_box_w,
                String ferment_material_type,
                Double ferment_material_w,
                String fuliao_name,
                Double fuliao_w,
                Double chongluanfuliao_w,
                Double water_w,
                Double egg_w,
                Double clfpslbw_w,
                String remark);

    List<Map<String, HsmSmallWorm>> getlatest();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(HsmSmallWorm record);
}
